package com.lzh.client;

import com.lzh.pojo.repVo.BaseResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author Li
 * @ 2022/3/28
 */
@FeignClient(name = "tg-order",path = "/order")
public interface OrderClients {
    @RequestMapping("/findByOrderId")
    public BaseResp findByOrderId(String orderId) ;

    @RequestMapping("/updateStatus/{orderId}/{status}")
    public BaseResp updateStatus(@PathVariable("orderId") String orderId,@PathVariable("status") Integer status) ;
}
